Open topic with navigation
Names
A name or identifier is any combination (up to eighty characters long) of letters, numbers, and underscores (“_”), used to identify model elements such as locations, entities, variables, and functions. Although any valid name can refer to any object, it is best to use names which describe the object they identify (e.g., using “ClientA” to describe an entity that represents a client). Names, like all words in ProModel, are not case sensitive, meaning that ProModel sees “PARKING_A,” “Parking_A,” and “PaRkInG_a” as identical.
Names must use the following conventions:
- Names may contain the letters A through Z (upper or lower case), digits (0-9) and the underscore “_”. Names may not contain spaces. When opening an older model, ProModel flags improper use of these restricted characters.
- Do not use a digit as the first character of a name. After the first character, any character may be a digit. For example, “2Var” is an invalid name, but “V2”, is a valid name.
- Names may not be keywords, but names may contain keywords. For example, “For” is an invalid name, but “Forklift” is a valid name. Similarly, “Queue2” and “OrderQty” are both valid.
- No matter what they identify, every name in a model must be unique. For example, you cannot name both a location and an entity “Server.” You may, however, name one “Server1” or “Server_Location” and the other “Server2” or “Server_Resource.”
|
© 2016 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com
|